<?php

// $Id$

require_once($WSC->get_site_inc_dir().'modules/user_auth_basic/classes/user_dbc.class.php');
require_once($WSC->get_site_inc_dir().'modules/user_auth_basic/classes/user_activity_dbc.class.php');

require_once($WSC->get_site_inc_dir().'modules/user_auth_basic/classes/user_details_dbc.class.php');
require_once($WSC->get_site_inc_dir().'modules/user_auth_basic/classes/user_activation_dbc.class.php');


class User_Deleter extends Tangra_Class {
	public static function delete_user(DB_Connection $dbc, $user_id) {
		User_DBC::delete($dbc, $user_id);
		User_Activity_DBC::delete_activities_for_user($dbc, $user_id);

		User_Details_DBC::delete($dbc, $user_id);
		User_Activation_DBC::delete_activations_for_user($dbc, $user_id);
	}
}
